<%@ page language="java" contentType="text/html; charset=iso-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Banco</title>
<script src = "/Scripts/jquery-1.7.2.min.js" language="JavaScript"></script>
<script src = "/Scripts/jquery.meio.mask.min.js" language="JavaScript"></script>
<script src = "/Scripts/NumericTextBox.js" language="JavaScript"></script>
<style><%@ include file="/pantallas.css" %></style>
<style type="text/css">
<!--
body {
	background-color: #FFFFCC;
}
-->
</style></head>
<body>
	<h1 align="center">ALTA DE CUENTA</h1>
<s:if test="msj != null">
		<p style="color:red;"><s:property value="msj"/></p>
	</s:if>
	 <h2 align="center" class="Estilo1">Ingresar los datos de la Cuenta</h2>
<s:form action="crearCuenta">
		<table width="331" height="225" border='1' align="center" >
		  <tbody>
		    <tr>
			  <td><div align="center"><p>DNI: </div></td>
			  <td><div align="center"><p><input type="text" class="input-integer" name="dni"/></p></div></td>
			</tr>
			
			<tr>
			  <td><div align="center"><p>TIPO CUENTA: </div></td>
			  <td><div align="center"><p><select name="tipo">
				    					 <option value="" selected>-- Seleccione -- </option>
				   						 <option value="0" >CAJA DE AHORRO  </option>
				    					 <option value="1" >CUENTA CORRIENTE</option>
				  						 </select></p></div></td>
			</tr> 
			<tr>
			  <td><div align="center"><p>SALDO: </div></td>
			  <td><div align="center"><p><input type="text" class="input-decimal" name="saldo"/></p></div></td>
			</tr>
			<tr>
			  <td><div align="center"><p>DESCUBIERTO: </div></td>
			  <td><div align="center"><p><input type="text" class="input-decimal" name="descubierto"/></p></div></td>
			</tr>
			
		   <s:submit value="Crear"></s:submit>
		  </tbody>
		</table>	
</s:form>
   <p align="center"><a href="/Cuentas/cuenta_menu.jsp">Volver al Menu</a></p>
</body>
</html>